#include "Widget.h"
#include "../Core/Point2.h"

namespace Gui {
	Widget::Widget( const Core::Rect2f& area ) 
		: mClientArea( area ) {
	}

	Widget::~Widget() {
	}

	bool Widget::test( const Core::Point2f& pt ) const {
		return mClientArea.test( pt );
	}

}